<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">

    <!-- Vendor styles -->
    <link rel="stylesheet" href="../../static/css/material-design-iconic-font.min.css">
    <link rel="stylesheet" href="../../static/css/animate.min.css">
    <link rel="stylesheet" href="../../static/css/jquery.scrollbar.css">

    <link rel="stylesheet" href="../../static/css/select2.css">

    <!-- App styles -->
    <link rel="stylesheet" href="../../static/css/app.min.css">

    <!-- Javascript -->
    <script src="../../static/js/jquery.min.js"></script>
    <script src="../../static/js/popper.min.js"></script>
    <script src="../../static/js/bootstrap.min.js"></script>
    <script src="../../static/js/jquery.scrollbar.min.js"></script>
    <script src="../../static/js/jquery-scrollLock.min.js"></script>

    <script src="../../static/js/select2.full.min.js"></script>

    <!-- layer -->
    <script src="../../static/js/layer/layer.js"></script>

    <!-- App functions and actions -->
    <script src="../../static/js/app.js"></script>
    <style>
        html, body {
            height: 100%;
            background-color: #ffffff;
        }
    </style>
</head>
<body>
<div style="padding: 20px;">
    <form>
        <div class="form-group">
            <label>告警对象：</label>
            <select class="select2" data-placeholder="请选择告警组(用户组)">
                <option></option>
                <option value="1">用户一组</option>
                <option selected value="2">用户二组</option>
                <option value="3">用户三组</option>
                <option value="4">张三</option>
                <option value="5">李四</option>
            </select>
        </div>
        <div class="form-group">
            <label>选择告警方式：</label>
            <div class="row" style="padding: 10px 15px;">
                <div class="col-sm-4 custom-control custom-checkbox">
                    <input checked type="checkbox" class="custom-control-input" id="customCheck1">
                    <label class="custom-control-label" for="customCheck1">语音</label>
                </div>
                <div class="col-sm-4 custom-control custom-checkbox">
                    <input checked type="checkbox" class="custom-control-input" id="customCheck2">
                    <label class="custom-control-label" for="customCheck2">短信</label>
                </div>
                <!--<div class="col-sm-4 custom-control custom-checkbox">-->
                    <!--<input checked type="checkbox" class="custom-control-input" id="customCheck3">-->
                    <!--<label class="custom-control-label" for="customCheck3">微信</label>-->
                <!--</div>-->
            </div>
        </div>
        <div>
            <button id="submit" type="button" class="btn btn-primary">确定</button>
            <button id="cancel" type="button" class="btn">取消</button>
        </div>
    </form>
</div>
<script>
    $("#submit").on('click', function () {

    });

    $("#cancel").on('click', function () {
        parent.layer.close(parent.layer.getFrameIndex(window.name)); //关闭窗口
    });
</script>

</body>
</html>